import { Component, OnInit, Input } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';

@Component({
  selector: 'app-assets-detail',
  templateUrl: './assets-detail.component.html',
  styleUrls: ['./assets-detail.component.less']
})
export class AssetsDetailComponent implements OnInit {
  @Input() data: any;
  constructor(private translate: TranslateService) { }
  i18nValues: any; //国际化变量
  ngOnInit(): void {
    this.i18nValues = this.translate.instant('blockchain');
  }
}
